package com.demo.springbootdemonettywebsocket.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

/**
 * @author peter
 * @date 2022/5/18 下午7:05
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MessagePojo {
    @NonNull
    private String route;
    @NonNull
    private String message;
    /**
     * 消息机制理论需要有版本号
     */
    // private String version;
}
